package com.xwaf.platform.system.api.service.gateway;

import java.util.Map;

import feign.Body;
import feign.HeaderMap;
import feign.Param;
import feign.RequestLine;

public interface HttpService {

	@RequestLine("POST {reqUrl}")
	@Body("{body}")
	String requestHttpPost(@Param("reqUrl") String reqUrl, @HeaderMap Map<String, Object> headers,
			@Param("body") String reqBody);

	@RequestLine("GET {reqUrl}")
	@Body("{body}")
	String requestHttpGet(@Param("reqUrl") String reqUrl, @HeaderMap Map<String, Object> headers,
			@Param("body") String reqBody);
}
